aliabid94 commited on
Commit
1c85e9b
·
verified ·
1 Parent(s): 1af3ee9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,11 +1,12 @@
1
  import gradio as gr
2
-
3
 
4
  def respond(
5
  message,
6
  history: list[tuple[str, str]],
7
  ):
8
- return "ok"
 
9
 
10
 
11
  """
 
1
  import gradio as gr
2
+ import requests
3
 
4
  def respond(
5
  message,
6
  history: list[tuple[str, str]],
7
  ):
8
+ resp = requests.get("https://huggingface.co")
9
+ return str(resp.status_code)
10
 
11
 
12
  """