bhagatsuryainatom commited on
Commit
279fc8c
·
verified ·
1 Parent(s): cc2efaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -225,7 +225,8 @@ async def process_reaction(reaction, user):
225
 
226
  # Cleanup
227
  del pending_messages[reaction.message.id]
228
-
 
229
  iface = gr.Interface(fn=dummy_function,
230
  inputs=gr.Textbox(label="Input"),
231
  outputs=gr.Textbox(label="Output"),
 
225
 
226
  # Cleanup
227
  del pending_messages[reaction.message.id]
228
+ def dummy_function(input_text):
229
+ return "This is a dummy function for the Gradio UI."
230
  iface = gr.Interface(fn=dummy_function,
231
  inputs=gr.Textbox(label="Input"),
232
  outputs=gr.Textbox(label="Output"),