xiaoheiqaq commited on
Commit
6cbb12f
1 Parent(s): ac1a061

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
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
 
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