Spaces:
Sleeping
Sleeping
xiaoheiqaq
commited on
Commit
•
6cbb12f
1
Parent(s):
ac1a061
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import requests
|
4 |
|
5 |
-
url = os.getenv
|
6 |
-
username = os.getenv
|
7 |
-
password = os.getenv
|
8 |
|
9 |
def predict(message, history, system_message):
|
10 |
url = url
|
|
|
2 |
import os
|
3 |
import requests
|
4 |
|
5 |
+
url = os.getenv('BACKEND_URL')
|
6 |
+
username = os.getenv('USERNAME')
|
7 |
+
password = os.getenv('PASSWORD')
|
8 |
|
9 |
def predict(message, history, system_message):
|
10 |
url = url
|