Spaces:
Sleeping
Sleeping
Update client link
Browse files201 unmodified lines202203204205206207208201 unmodified linestry:# ONLY THIS PART CHANGED:# Use the RAG calling method instead of the OpenAI functionclient_rag = Client("https://66cd04274e7fd11327.gradio.live/")result = client_rag.predict(query=f"What's a healthy {top_food} recipe, and why is it healthy?", api_name="/get_response")st.write(result)except OpenAIError as e:201 unmodified lines202203204205206207208201 unmodified linestry:# ONLY THIS PART CHANGED:# Use the RAG calling method instead of the OpenAI functionclient_rag = Client("https://bcf51b6785b84b4860.gradio.live/")result = client_rag.predict(query=f"What's a healthy {top_food} recipe, and why is it healthy?", api_name="/get_response")st.write(result)except OpenAIError as e:
app.py+1-1