acecalisto3 commited on
Commit
b57b0e9
·
verified ·
1 Parent(s): 5b0a65f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,10 +1,10 @@
1
 
2
  import gradio as gr
3
- from poe_api_wrapper import PoeApi
4
  from typing import Generator
5
 
6
  def init_client(p_b: str, p_lat: str) -> PoeApi:
7
- return PoeApi(token={"p-b": p_b, "p-lat": p_lat})
8
 
9
  custom_css = """
10
  #component-0 {
 
1
 
2
  import gradio as gr
3
+ from poe_api_wrapper import poe_api
4
  from typing import Generator
5
 
6
  def init_client(p_b: str, p_lat: str) -> PoeApi:
7
+ return Poe_Api(token={"p-b": p_b, "p-lat": p_lat})
8
 
9
  custom_css = """
10
  #component-0 {