Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -8,5 +8,5 @@ def chat(input):
|
|
8 |
headers = {'content-type': 'application/json','Authorization':'Bearer kdfjwoieskdflasdnf'}
|
9 |
response = requests.post(url, data=data, headers=headers)
|
10 |
return response
|
11 |
-
iface = gr.Interface(fn=chat, inputs="text", outputs=
|
12 |
iface.launch(server_name="0.0.0.0")
|
|
|
8 |
headers = {'content-type': 'application/json','Authorization':'Bearer kdfjwoieskdflasdnf'}
|
9 |
response = requests.post(url, data=data, headers=headers)
|
10 |
return response
|
11 |
+
iface = gr.Interface(fn=chat, inputs="text", outputs="text")
|
12 |
iface.launch(server_name="0.0.0.0")
|