wop commited on
Commit
2cb8221
1 Parent(s): a64e097

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -80,7 +80,6 @@ def generate_response(input_text):
80
  return response.strip()
81
 
82
  # Interface
83
- input_text = gr.inputs.Textbox(label="Input Text")
84
- output_text = gr.outputs.Textbox(label="Output Text")
85
 
86
- gr.Interface(fn=generate_response, inputs=input_text, outputs=output_text, title="Conversation Model", description="Enter your question and get a response.").launch()
 
80
  return response.strip()
81
 
82
  # Interface
83
+ iface = gr.Interface(fn=generate_response, inputs="textbox", outputs="textbox", title="Cosmos AI - A conversational model",)
 
84
 
85
+ iface.launch()