Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ with gr.Blocks() as demo:
|
|
25 |
greet_button.click(fn=greet, inputs=name_input, outputs=output_text)
|
26 |
|
27 |
# Mount the Gradio app at "/gradio"
|
28 |
-
|
29 |
|
30 |
# Run the FastAPI app with Uvicorn
|
31 |
if __name__ == "__main__":
|
|
|
25 |
greet_button.click(fn=greet, inputs=name_input, outputs=output_text)
|
26 |
|
27 |
# Mount the Gradio app at "/gradio"
|
28 |
+
gr.mount_gradio_app(app, demo, path="/gradio")
|
29 |
|
30 |
# Run the FastAPI app with Uvicorn
|
31 |
if __name__ == "__main__":
|