SansarK commited on
Commit
80d0d4e
·
verified ·
1 Parent(s): bd93483

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -123,9 +123,9 @@ def respond(question, history):
123
  # Create the Gradio interface
124
  demo = gr.Interface(
125
  fn=respond,
126
- inputs=gr.inputs.Textbox(label="Question"),
127
- outputs=gr.outputs.Textbox(label="Response"),
128
- description ="# OpenGPT 4o mini\n ### You can engage in chat, generate images, perform web searches, and Q&A with images.",
129
  examples=[
130
  {"question": "Hi, who are you?"},
131
  {"question": "What's the current price of Bitcoin?"},
@@ -133,4 +133,4 @@ demo = gr.Interface(
133
  {"question": "Write me a Python function to calculate the first 10 digits of the Fibonacci sequence."},
134
  ],
135
  )
136
- demo.launch(show_error=True)
 
123
  # Create the Gradio interface
124
  demo = gr.Interface(
125
  fn=respond,
126
+ inputs=gr.Textbox(label="Question"),
127
+ outputs=gr.Textbox(label="Response"),
128
+ description="# OpenGPT 4o mini\n### You can engage in chat, generate images, perform web searches, and Q&A with images.",
129
  examples=[
130
  {"question": "Hi, who are you?"},
131
  {"question": "What's the current price of Bitcoin?"},
 
133
  {"question": "Write me a Python function to calculate the first 10 digits of the Fibonacci sequence."},
134
  ],
135
  )
136
+ demo.launch(show_error=True)