Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ summarize_tool = DocumentSummarizationTool(
|
|
| 39 |
summarization_pipeline=summarization_pipeline
|
| 40 |
)
|
| 41 |
|
| 42 |
-
model = InferenceClientModel(client=InferenceClient(model="
|
| 43 |
print("Loaded model:", model)
|
| 44 |
|
| 45 |
agent = CodeAgent(
|
|
@@ -70,6 +70,6 @@ iface = gr.Interface(
|
|
| 70 |
# )
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
-
if os.getenv("RUN_GAIA", "true") == "true":
|
| 74 |
-
|
| 75 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 39 |
summarization_pipeline=summarization_pipeline
|
| 40 |
)
|
| 41 |
|
| 42 |
+
model = InferenceClientModel(client=InferenceClient(model="naveensharma16/document-based-assistant")) # google/flan-t5-large
|
| 43 |
print("Loaded model:", model)
|
| 44 |
|
| 45 |
agent = CodeAgent(
|
|
|
|
| 70 |
# )
|
| 71 |
|
| 72 |
if __name__ == "__main__":
|
| 73 |
+
# if os.getenv("RUN_GAIA", "true") == "true":
|
| 74 |
+
# run_gaia_test("naveensharma16")
|
| 75 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|