sdafd commited on
Commit
4fc14cd
1 Parent(s): d8e4555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,5 +16,5 @@ def generate_text(prompt):
16
  pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype=torch.bfloat16, device_map="auto")
17
 
18
  # Create Gradio interface
19
- iface = gr.Interface(fn=generate_text, inputs="text", outputs="text", live=False, interpretation="button", title="Chatbot Assistant")
20
  iface.launch()
 
16
  pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype=torch.bfloat16, device_map="auto")
17
 
18
  # Create Gradio interface
19
+ iface = gr.Interface(fn=generate_text, inputs="text", outputs="text", live=False, title="Chatbot Assistant")
20
  iface.launch()