Hans Han commited on
Commit ·
fea912b
1
Parent(s): 52916cf
fixed typos
Browse files
app.py
CHANGED
|
@@ -38,8 +38,8 @@ class BasicAgent:
|
|
| 38 |
[search_tool] + wiki_tools,
|
| 39 |
llm=llm
|
| 40 |
)
|
| 41 |
-
# Example query agent might receive
|
| 42 |
-
fixed_answer = agent.run(question)
|
| 43 |
return fixed_answer
|
| 44 |
|
| 45 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
@@ -216,4 +216,4 @@ if __name__ == "__main__":
|
|
| 216 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 217 |
|
| 218 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 219 |
-
demo.launch(debug=True, share=False)
|
|
|
|
| 38 |
[search_tool] + wiki_tools,
|
| 39 |
llm=llm
|
| 40 |
)
|
| 41 |
+
# Example query agent might receive
|
| 42 |
+
fixed_answer = agent.run(question) # await
|
| 43 |
return fixed_answer
|
| 44 |
|
| 45 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
|
| 216 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 217 |
|
| 218 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 219 |
+
demo.launch(debug=True, share=False)
|