Spaces:
Sleeping
Sleeping
Update client link
#10
by
JagmeetMinhas22
- opened
app.py
CHANGED
|
@@ -202,7 +202,7 @@ if uploaded_file is not None:
|
|
| 202 |
try:
|
| 203 |
# ONLY THIS PART CHANGED:
|
| 204 |
# Use the RAG calling method instead of the OpenAI function
|
| 205 |
-
client_rag = Client("https://
|
| 206 |
result = client_rag.predict(query=f"What's a healthy {top_food} recipe, and why is it healthy?", api_name="/get_response")
|
| 207 |
st.write(result)
|
| 208 |
except OpenAIError as e:
|
|
|
|
| 202 |
try:
|
| 203 |
# ONLY THIS PART CHANGED:
|
| 204 |
# Use the RAG calling method instead of the OpenAI function
|
| 205 |
+
client_rag = Client("https://bcf51b6785b84b4860.gradio.live/")
|
| 206 |
result = client_rag.predict(query=f"What's a healthy {top_food} recipe, and why is it healthy?", api_name="/get_response")
|
| 207 |
st.write(result)
|
| 208 |
except OpenAIError as e:
|