Spaces:
Paused
Paused
robinroy03
commited on
Commit
•
a749a60
1
Parent(s):
1b31a45
work?
Browse files
app.py
CHANGED
@@ -44,5 +44,17 @@ async def on_message(message):
|
|
44 |
print(e)
|
45 |
await message.reply(content="Sorry something internally went wrong. Retry again.")
|
46 |
|
|
|
|
|
47 |
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
print(e)
|
45 |
await message.reply(content="Sorry something internally went wrong. Retry again.")
|
46 |
|
47 |
+
if __name__ == "__main__":
|
48 |
+
import gradio as gr
|
49 |
|
50 |
+
def greet():
|
51 |
+
return "Hello"
|
52 |
+
|
53 |
+
demo = gr.Interface(
|
54 |
+
fn=greet,
|
55 |
+
inputs=[],
|
56 |
+
outputs=["text"],
|
57 |
+
)
|
58 |
+
|
59 |
+
demo.launch()
|
60 |
+
bot.run(token)
|