Spaces:
Paused
Paused
Commit ·
640c503
1
Parent(s): 77890b6
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,11 +11,11 @@ from gradio_client import Client
|
|
| 11 |
plt = platform.system()
|
| 12 |
pathlib.WindowsPath = pathlib.PosixPath
|
| 13 |
|
| 14 |
-
api = os.environ['API']
|
| 15 |
|
| 16 |
|
| 17 |
def chat(message,history):
|
| 18 |
-
client = Client(
|
| 19 |
result = client.predict(
|
| 20 |
message,
|
| 21 |
api_name="/chat"
|
|
|
|
| 11 |
plt = platform.system()
|
| 12 |
pathlib.WindowsPath = pathlib.PosixPath
|
| 13 |
|
| 14 |
+
#api = os.environ['API']
|
| 15 |
|
| 16 |
|
| 17 |
def chat(message,history):
|
| 18 |
+
client = Client('https://openskyml-pigeon-chat.hf.space/')
|
| 19 |
result = client.predict(
|
| 20 |
message,
|
| 21 |
api_name="/chat"
|