Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import requests
|
3 |
|
4 |
# Define the FastAPI API URL
|
5 |
-
API_URL = "http://
|
6 |
|
7 |
def query_api(question):
|
8 |
"""
|
|
|
2 |
import requests
|
3 |
|
4 |
# Define the FastAPI API URL
|
5 |
+
API_URL = "http://0.0.0.0:8000/llm_api" # Ensure this matches your FastAPI server URL
|
6 |
|
7 |
def query_api(question):
|
8 |
"""
|