Spaces:
Runtime error
Runtime error
Commit
·
70a219f
1
Parent(s):
6fb9691
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ An example of querying about something the LLM's training did not include:
|
|
44 |
def chat_response(query):
|
45 |
return index_saved.query(query)
|
46 |
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
44 |
def chat_response(query):
|
45 |
return index_saved.query(query)
|
46 |
|
47 |
+
if __name__ == "__main__":
|
48 |
+
interface = gradio.Interface(fn=chat_response, inputs="text", outputs="text", title='Annual Reports GPT', description=description)
|
49 |
+
|
50 |
+
interface.launch() #server_name="0.0.0.0", server_port=8080, share=True)
|