mrfakename commited on
Commit
4d5fddd
1 Parent(s): f4e709a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,7 +31,7 @@ def generate_text(text, temperature, maxLen):
31
  for out in streamer:
32
  t += out
33
  yield t
34
- with gr.Blocks(css="footer{display:none !important}", theme=theme) as demo:
35
  gr.Markdown("""
36
  # (Unofficial) Demo of Microsoft's Phi-2 on GPU
37
 
@@ -66,5 +66,5 @@ Duplicate this Space to skip the wait!
66
  gr.HTML('<img src="https://cdn-uploads.huggingface.co/production/uploads/62e54f0eae9d3f10acb95cb9/Lr9cPiTjUnaTcZvZMOxMr.png" style="height:50px">')
67
 
68
  if __name__ == "__main__":
69
- demo.queue().launch(show_api=False)
70
 
 
31
  for out in streamer:
32
  t += out
33
  yield t
34
+ with gr.Blocks(theme=theme) as demo:
35
  gr.Markdown("""
36
  # (Unofficial) Demo of Microsoft's Phi-2 on GPU
37
 
 
66
  gr.HTML('<img src="https://cdn-uploads.huggingface.co/production/uploads/62e54f0eae9d3f10acb95cb9/Lr9cPiTjUnaTcZvZMOxMr.png" style="height:50px">')
67
 
68
  if __name__ == "__main__":
69
+ demo.queue().launch()
70