Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,8 @@ def DS_chatbot(message,history):
|
|
| 17 |
io = gr.ChatInterface(DS_chatbot, title=" DS Chatbot", description="Enter text to start chatting.")
|
| 18 |
@app.get("/")
|
| 19 |
async def read_main():
|
| 20 |
-
return {"
|
|
|
|
| 21 |
|
| 22 |
@app.get("/hello/{name}")
|
| 23 |
async def read_name(name: Union[str, None] = None):
|
|
|
|
| 17 |
io = gr.ChatInterface(DS_chatbot, title=" DS Chatbot", description="Enter text to start chatting.")
|
| 18 |
@app.get("/")
|
| 19 |
async def read_main():
|
| 20 |
+
return {"Instruction1": "Append /gradio to the url to see gradio the interface"
|
| 21 |
+
,"Instruction2": "Append /hello/{any_name} to get a greeting"}
|
| 22 |
|
| 23 |
@app.get("/hello/{name}")
|
| 24 |
async def read_name(name: Union[str, None] = None):
|