Spaces:
Sleeping
Sleeping
Update client link
#10
by JagmeetMinhas22 - opened
201 unmodified lines202203204205205206207208201 unmodified lines try: # ONLY THIS PART CHANGED: # Use the RAG calling method instead of the OpenAI function client_rag = Client("https://66cd04274e7fd11327.gradio.live/") client_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