Rob Learsch commited on
Commit
3c5a859
·
1 Parent(s): f359539

Fix python to 3.10

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -9,7 +9,7 @@ app_file: app.py
9
  pinned: false
10
  license: mit
11
  short_description: Chat with Gemini, but all the responses are translated
12
- python_version: 3.11
13
  ---
14
 
15
  An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
9
  pinned: false
10
  license: mit
11
  short_description: Chat with Gemini, but all the responses are translated
12
+ python_version: "3.10"
13
  ---
14
 
15
  An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  #import base64
4
  import os
5
- from google import genai
6
- from google.genai import types
7
  from sentence_transformers import SentenceTransformer, SimilarityFunction
8
  from dotenv import load_dotenv
9
  import numpy as np
 
2
  from huggingface_hub import InferenceClient
3
  #import base64
4
  import os
5
+ #from google import genai
6
+ #from google.genai import types
7
  from sentence_transformers import SentenceTransformer, SimilarityFunction
8
  from dotenv import load_dotenv
9
  import numpy as np