Giter VIP home page Giter VIP logo

Comments (5)

Sierkinhane avatar Sierkinhane commented on May 27, 2024

Hi, what's the version of transformers? You can try to use transformers==4.27.4.

from visorgpt.

wasphulud avatar wasphulud commented on May 27, 2024

I got multiple errors while "pip install -r requirements.txt"(especially when there is editable install with /tmp/ ...) so I deleted the relevant lines and installed them manually.

I was able to load the model, but getting errors in gradio this time

  File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/routes.py", line 534, in predict
    output = await route_utils.call_process_api(
  File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/route_utils.py", line 226, in call_process_api
    output = await app.get_blocks().process_api(
  File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 1559, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 1435, in postprocess_data
    state[output_id] = self.blocks[output_id].__class__(**args)
  File "/opt/conda/envs/visorgpt/lib/python3.8/site-packages/gradio/blocks.py", line 115, in wrapper
    return fn(self, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'render'

from visorgpt.

Sierkinhane avatar Sierkinhane commented on May 27, 2024

Please try to install gradio==3.25.0 gradio-client==0.0.10

from visorgpt.

wasphulud avatar wasphulud commented on May 27, 2024

I had some other versions discrepancies too: I have reinstalled all required versions and it's working like a charm now.

Thank you @Sierkinhane

from visorgpt.

Sierkinhane avatar Sierkinhane commented on May 27, 2024

Thank you for your interest! Btw, welcome to star our project :)

from visorgpt.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.