MohammedAlakhras commited on
Commit
640c503
·
1 Parent(s): 77890b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(api)
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"