Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"),
|