jslin09 commited on
Commit
61505d3
1 Parent(s): 77e4585

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- generator = pipeline('text-generation', model='huggingface/jslin09/bloom-560m-finetuned-fraud')
5
 
6
  def generate(text):
7
  result = generator(text, max_length=30, num_return_sequences=1)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ generator = pipeline('text-generation', model='jslin09/bloom-560m-finetuned-fraud')
5
 
6
  def generate(text):
7
  result = generator(text, max_length=30, num_return_sequences=1)