naveensharma16 commited on
Commit
fbc8ce9
·
verified ·
1 Parent(s): 15ce7df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,7 +39,7 @@ summarize_tool = DocumentSummarizationTool(
39
  summarization_pipeline=summarization_pipeline
40
  )
41
 
42
- model = InferenceClientModel(client=InferenceClient(model="google/flan-t5-large")) # naveensharma16/document-based-assistant
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
- run_gaia_test("naveensharma16")
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)