Update app.py
Browse filesAdd huggingface_hub.InferenceClient to imports.
app.py
CHANGED
@@ -5,6 +5,7 @@ from requests import post
|
|
5 |
|
6 |
import gradio as gr
|
7 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
8 |
import spaces
|
9 |
# from openai import OpenAI
|
10 |
# import torch
|
|
|
5 |
|
6 |
import gradio as gr
|
7 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
8 |
+
from huggingface_hub import InferenceClient
|
9 |
import spaces
|
10 |
# from openai import OpenAI
|
11 |
# import torch
|