Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,10 +173,5 @@ def root():
|
|
| 173 |
return {"message": "API is running. Go to /docs for documentation."}
|
| 174 |
|
| 175 |
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
gr.Markdown("# HackRX RAG Server")
|
| 179 |
-
gr.Markdown("Backend is running successfully 🚀")
|
| 180 |
-
|
| 181 |
-
# Mount Gradio app into FastAPI (Hugging Face Spaces needs this)
|
| 182 |
-
app = gr.mount_gradio_app(app, demo, path="/")
|
|
|
|
| 173 |
return {"message": "API is running. Go to /docs for documentation."}
|
| 174 |
|
| 175 |
|
| 176 |
+
def dummy_gradio(): return "✅ API running!"
|
| 177 |
+
gr.Interface(fn=dummy_gradio, inputs=[], outputs="text").launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|